WPDesk\FS\TableRate\Rule\ShippingContents\ShippingContentsImplementation S

Total Complexity 27
Dependencies 3
Dependents 2
Total lines 248
Lines of code 97
Logical lines of code 52
Comment lines 101
Methods 17
Properties 10

Methods 17

Method Rating Maintainability Complexity Lines of code
get_item_cost()
S
59 5 16
get_contents_weight()
S
66 3 9
get_contents_cost()
S
70 2 6
calculate_contents_weight()
S
69 2 7
calculate_contents_cost()
S
69 2 7
get_contents_items_count()
S
69 2 7
reset_contents()
S
70 1 6
set_meta()
S
76 1 4
get_currency()
S
82 1 3
get_destination_address()
S
82 1 3
__construct()
S
67 1 8
get_non_filtered_contents()
S
82 1 3
filter_contents()
S
70 1 6
set_weight_rounding_precision()
S
81 1 3
get_item_weight()
S
78 1 3
get_contents()
S
82 1 3
get_meta()
S
79 1 3